package com.netease.rmi.server;

import java.io.Serializable;

/**
 * @author bjweitingting
 * @description
 * @date 2018/8/22
 **/
public class User implements Serializable {

//    // 与客户端的serialVersionUID字段数据一致
//    private static final long serialVersionUID = 42L;

    private String name;
    private int age;

    public User(){

    }
    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
